package com.shushan.mixedexam.bean;

import com.android.net.bean.NetBaseBean;

import org.json.JSONException;
import org.json.JSONObject;

/**
 * @ClassName: NewTypePaperInfoBean
 * @Desciption: //新题型paperinfo bean
 * @author: zhangshihao
 * @date: 2018-07-24
 */
public class NewTypePaperInfoBean extends NetBaseBean {

    public int id;
    public int video_id;
    public int special_id;
    public int outline_id;

    @Override
    public void initByJson(JSONObject jsonObject) throws JSONException {
        if(jsonObject == null){
            return;
        }
        id = jsonObject.optInt("id",0);
        video_id = jsonObject.optInt("video_id",0);
        special_id = jsonObject.optInt("special_id",0);
        outline_id = jsonObject.optInt("outline_id",0);
    }
}
